package com.example.ui.other;

import com.example.huashangapp.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.RadioButton;
import android.widget.TextView;

/**
 *隐身模式
 */
public class StealthModeActivity extends Activity implements OnClickListener{
	private Button leftBtn,rightBtn;
	private TextView titleText;
	private RadioButton showAll,showSelcation,hideAll;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.other_hide_stealth);
		init();
		
	}

	private void init() {
		leftBtn=(Button)findViewById(R.id.layout_title_left_btn);
		rightBtn=(Button)findViewById(R.id.layout_title_right_btn);
		titleText=(TextView)findViewById(R.id.layout_title_middle_text);
		leftBtn.setText("返回");
		rightBtn.setVisibility(View.INVISIBLE);
		titleText.setText("隐身模式");
		leftBtn.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		if(v.getId()==R.id.layout_title_left_btn){
			finish();
		}
	}

}
